import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SDelegate
    
    export  class SDelegate
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.delegateCode);
            arg1.writeBool(this.canCoin);
            arg1.writeBool(this.canGold);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.delegateCode = arg1.readInt();
            this.canCoin = arg1.readBool();
            this.canGold = arg1.readBool();
            return;
        }

        public /* var */delegateCode: int;

        public /* var */canCoin: Boolean;

        public /* var */canGold: Boolean;
    }
